switch (foo) {
  case 1:
    let x = 1;
    break;
  case 2:
    const y = 2;
    break;
  case 3:
function f() {}
break;
default:
class C {}
}

switch (a) {
  case 1:
    {}
function f() {}
break;
}

switch (a) {
  case 1:
  case 2:
    let x;
}

switch (a) { case 1: let x = 1; break; }

switch (a) { default: let x = 2; break; }

switch (a) { case 1: const x = 1; break; }

switch (a) { default: const x = 2; break; }

switch (a) { case 1: function f() {} break; }

switch (a) { default: function f() {} break; }

switch (a) { case 1: class C {} break; }

switch (a) { default: class C {} break; }